var React = require('react');

//
// <CustomIcon iconName="图标名称" />
//

var ICONS = {
  'SwapOutlined': /*#__PURE__*/ React.createElement("svg", {
    viewBox: "64 64 896 896",
    focusable: "false",
    "data-icon": "swap",
    width: "1em",
    height: "1em",
    fill: "currentColor",
    "aria-hidden": "true"
  }, /*#__PURE__*/ React.createElement("path", {
    d: "M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"
  })),
  'PlusOutlined': /*#__PURE__*/ React.createElement("svg", {
    viewBox: "64 64 896 896",
    focusable: "false",
    "data-icon": "plus",
    width: "1em",
    height: "1em",
    fill: "currentColor",
    "aria-hidden": "true"
  }, /*#__PURE__*/ React.createElement("path", {
    d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
  }), /*#__PURE__*/ React.createElement("path", {
    d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"
  }))
};
module.exports = function CustomIcon(props) {
  var iconName = props.iconName;
  var icon = ICONS[iconName];
  if (icon === undefined) {
    icon = /*#__PURE__*/ React.createElement("i", {
      className: 'bi ' + iconName
    });
  }
  return icon;
};